package com.cspg.design.ui.schemeActivity;

import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.cspg.design.R;
import com.cspg.design.utils.ActionBarUtil;
import com.cspg.design.utils.StatusBarUtil;

import java.util.Objects;

public class CustomSchemeActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_custom_scheme);
//        ActionBar mActionBar = getSupportActionBar();
//        Objects.requireNonNull(mActionBar).setHomeButtonEnabled(true);
//        mActionBar.setDisplayHomeAsUpEnabled(true);
//        mActionBar.setTitle("10kV及以下方案");
        ActionBarUtil.setActionBar(this,R.string.custom_aerial_scheme);
        StatusBarUtil.setStatusBarColor(this,R.color.colorPrimary);
    }
}